<%= form_for(:session, url: raids_path, :html => {:multipart => true,:class=>'form-horizontal'}) do |t| %>
	<fieldset>
		<legend>
    <%= link_to '道具装备列表', raids_path %>
    </legend>
  <div class="control-group">
    <label class="control-label">装备名称</label>
    <div class="controls">
    <%= t.text_field :title, :placeholder => '装备名称' %>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label">分类</label>
    <div class="controls">
      <select name='session[category]'>
        <option value='1'>寻宝</option>
        <option value='2'>行会</option>
      </select>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label">内容</label>
    <div class="controls">
      <%= t.kindeditor :content, simple_mode:true, :id => 'content', :width => '720', :height => '350'%>
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
      <button type="submit" class="btn">新增</button>
    </div>
  </div>
</fieldset>
<% end %>
